From: Andrew Cooper Date: Tue, 20 Jan 2015 09:41:18 +0000 (+0100) Subject: x86/cpuid: correct parameter types for cpuid_count() X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3900 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=edfd64ea799cd4d29c2efc2d5961ee68ca5fc022;p=xen.git x86/cpuid: correct parameter types for cpuid_count() About half of the cpuid space has the top bit of op set, and op it always specified with unsigned integers. There are no problematic uses in tree at the moment. Signed-off-by: Andrew Cooper --- diff --git a/xen/include/asm-x86/processor.h b/xen/include/asm-x86/processor.h index f98eaf5217..20eade6e56 100644 --- a/xen/include/asm-x86/processor.h +++ b/xen/include/asm-x86/processor.h @@ -234,8 +234,8 @@ unsigned int apicid_to_socket(unsigned int); /* Some CPUID calls want 'count' to be placed in ecx */ static inline void cpuid_count( - int op, - int count, + unsigned int op, + unsigned int count, unsigned int *eax, unsigned int *ebx, unsigned int *ecx,